home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 January / ChipCD_1.03.iso / oddech / bsen / BSinstall.exe / BecheruvSen.exe / scripts / DefineButton2_1706 / BUTTONCONDACTION on(release).as next >
Text File  |  2002-11-01  |  499b  |  26 lines

  1. on(release){
  2.    _root.stopdragall();
  3.    _root.hideall();
  4.    if(_root.poz == "c")
  5.    {
  6.       if(_root.ii20 == 0)
  7.       {
  8.          _root.d_cukrar.i = "bonbony_ano";
  9.          _root.itembar_add(20);
  10.          _root.ii20 = 1;
  11.          if(_root.d14 & _root.naX(2))
  12.          {
  13.             _root.dobroty4.gotoAndStop(2);
  14.          }
  15.       }
  16.       else
  17.       {
  18.          _root.d_cukrar.i = "bonbony_ne";
  19.       }
  20.    }
  21.    else
  22.    {
  23.       _root.pepa.gotoAndPlay(_root.poz add "c");
  24.    }
  25. }
  26.